import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  easycom: {
    autoscan: true,
    custom: {
      '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
    },
  },
  globalStyle: {
    backgroundColor: '#F8F8F8',
    backgroundColorBottom: '#F8F8F8',
    backgroundColorTop: '#F8F8F8',
    backgroundTextStyle: 'dark',
    navigationBarBackgroundColor: '#FFFFFF',
    navigationBarTextStyle: 'black',
    navigationBarTitleText: '佳宅通',
  },
  tabBar: {
    backgroundColor: '#FFFFFF',
    borderStyle: 'white',
    color: '#9A9EA2',
    selectedColor: '#FF6D0A',
    list: [
      {
        pagePath: 'pages/userHome',
        iconPath: 'static/images/tabBar/home_0.png',
        selectedIconPath: 'static/images/tabBar/home_1.png',
        text: '首页',
      },
      {
        pagePath: 'pages/cases',
        iconPath: 'static/images/tabBar/cases_0.png',
        selectedIconPath: 'static/images/tabBar/cases_1.png',
        text: '案例',
      },
      {
        pagePath: 'pages/profile',
        iconPath: 'static/images/tabBar/profile_0.png',
        selectedIconPath: 'static/images/tabBar/profile_1.png',
        text: '我的',
      },
    ],
  },
})
